package com.googlecode.connectlet.vspkm;

import com.googlecode.connectlet.FilterFactory;
import com.googlecode.connectlet.util.secure.CertKey;
import com.googlecode.connectlet.util.secure.CertMap;

public class VspkmFilterFactory implements FilterFactory {
	private CertKey certKey;
	private CertMap certMap;

	public VspkmFilterFactory(CertKey certKey, CertMap certMap) {
		this.certKey = certKey;
		this.certMap = certMap;
	}

	@Override
	public VspkmFilter createFilter() {
		return new VspkmFilter(certKey, certMap);
	}
}